<?php

namespace backend\controllers;

use Yii;

use yii\web\Controller;

class IndexController extends BaseController{

	public $layout = 'common';
	public function actionIndex()
	{
		$session = Yii::$app->session;
		$admin = $session->get('user');
		return $this->render('index',['user'=>$admin]);
	}
}